package com.dsy.tools.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dsy
 * @since 2019-12-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbCounty implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 县市id
     */
    @TableId(value = "county_id", type = IdType.AUTO)
    private Integer countyId;

    /**
     * 县市名称
     */
    private String countyName;

    /**
     * 县市管理员id
     */
    private Integer adminId;

    /**
     * 城市id
     */
    private Integer cityId;


}
